﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Home.Domain.Entities
{
    /// <summary>
    /// 留言板
    /// </summary>
    public class MessageBoard
    {
        public int Id { get; set; }
        /// <summary>
        /// 姓名，联系人
        /// </summary>
        [MaxLength(60)]
        public string Name { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Body { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string Contact { get; set; }
        /// <summary>
        /// 状态，1未查看，2已查看
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
    }
}
